﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaseManagerLibrary.Models
{
	public class ac_user
	{
		#region Properties
		/// <summary>
		/// ID
		/// </summary>
		[DisplayName("ID")]
		public string id { get; set; }
		/// <summary>
		/// 用户名
		/// </summary>
		[DisplayName("用户名")]
		public string user_name { get; set; }
		/// <summary>
		/// 照片路径
		/// </summary>
		[DisplayName("照片路径")]
		public string profile_picture { get; set; }
		/// <summary>
		/// 真实姓名
		/// </summary>
		[DisplayName("真实姓名")]
		public string real_name { get; set; }
		/// <summary>
		/// 密码
		/// </summary>
		[DisplayName("密码")]
		public string password { get; set; }
		/// <summary>
		/// 加盐
		/// </summary>
		[DisplayName("加盐")]
		public string salt { get; set; }
		/// <summary>
		/// 状态（0正常，1被禁用）
		/// </summary>
		[DisplayName("状态（0正常，1被禁用）")]
		public int? state { get; set; }
		/// <summary>
		/// 办公电话
		/// </summary>
		[DisplayName("办公电话")]
		public string office_phone { get; set; }
		/// <summary>
		/// 手机号码
		/// </summary>
		[DisplayName("手机号码")]
		public string phone { get; set; }
		/// <summary>
		/// 最后登录时间
		/// </summary>
		[DisplayName("最后登录时间")]
		public DateTime? lastlogin_time { get; set; }
		/// <summary>
		/// 最后登录IP
		/// </summary>
		[DisplayName("最后登录IP")]
		public string lastlogin_ip { get; set; }
		/// <summary>
		/// 排序
		/// </summary>
		[DisplayName("排序")]
		public int? sort { get; set; }
		/// <summary>
		/// 所属科室
		/// </summary>
		[DisplayName("所属科室")]
		public string dept_id { get; set; }

		public string dept_text { get; set; }

		/// <summary>
		/// 角色id
		/// </summary>
		[DisplayName("角色id")]
		public string role_id { get; set; }

		public string role_text { get; set; }

		/// <summary>
		/// 角色名称
		/// </summary>
		[DisplayName("角色名称")]
		public string role { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		[DisplayName("创建人")]
		public string create_user { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		[DisplayName("创建时间")]
		public DateTime? create_date { get; set; }

		public int isgroup { get; set; }
		/// <summary>
		/// 同步的id
		/// </summary>
		public string oldId { get; set; }
		/// <summary>
		/// 密钥key
		/// </summary>
		public string ikeysn { get; set; }

		#endregion
	}
}
